package com.cww.study.service;

import com.cww.study.mybatis.PageResultBean;
import com.cww.study.po.News;
import com.cww.study.po.User;
import com.cww.study.vo.AddUserVO;
import com.cww.study.vo.LoginVO;
import com.cww.study.vo.QueryUserPageListVO;
import com.cww.study.vo.UpdateUserStateVO;

/**
 * @program: cww_project
 * @description:
 * @author: 陈亮
 * @create: 2022-03-12 13:41
 */
public interface UserService {
    void saveUser(AddUserVO vo);

    PageResultBean<User> queryUserPageList(QueryUserPageListVO vo);

    User getDetailById(String id);

    void updateUserState(UpdateUserStateVO vo);

    void login(LoginVO vo);

    User getLoginUserInfoByRedis(String loginName);
}
